home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3dgrav.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_DISTANTGRAVITY_H = 1;
- include("real/objects/r3force.js")
-
-
- var R3CLID_DISTANTGRAVITY = 1449;
-
-
-
-
-
-
-
- R3DGRAVA_Position = 1449500;
- function SetR3DGRAVA_Position(value) {
- R3Set(this.r3obj, R3DGRAVA_Position, value, R3TID_VECTOR, 0);
- }
-
- function GetR3DGRAVA_Position() {
- return R3Get(this.r3obj, R3DGRAVA_Position, R3TID_VECTOR, 0);
- }
-
- R3DGRAVA_Direction = 1449501;
- function SetR3DGRAVA_Direction(value) {
- R3Set(this.r3obj, R3DGRAVA_Direction, value, R3TID_VECTOR, 0);
- }
-
- function GetR3DGRAVA_Direction() {
- return R3Get(this.r3obj, R3DGRAVA_Direction, R3TID_VECTOR, 0);
- }
-
- R3DGRAVA_Strength = 1449502;
- function SetR3DGRAVA_Strength(value) {
- R3Set(this.r3obj, R3DGRAVA_Strength, value, R3TID_FLOAT, 0);
- }
-
- function GetR3DGRAVA_Strength() {
- return R3Get(this.r3obj, R3DGRAVA_Strength, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Distantgravity () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_DISTANTGRAVITY, arguments);
- }
- // Methods
-
- // Attributes
- this.GetPosition=GetR3DGRAVA_Position;
- this.SetPosition=SetR3DGRAVA_Position;
- this.GetDirection=GetR3DGRAVA_Direction;
- this.SetDirection=SetR3DGRAVA_Direction;
- this.GetStrength=GetR3DGRAVA_Strength;
- this.SetStrength=SetR3DGRAVA_Strength;
- }
-
- r3Distantgravity.prototype=new r3Force;
- // r3dgrav.h_H